'use strict'
const Koa = require('koa')

let app = new Koa()
const cotroller = require('./cotroller')
const model = require('./model')
const cors = require('koa2-cors')

app.use(cors())
cotroller(app)

// model.sync(true)
let post = 8088;

app.listen(post)

console.log(`http://localhost::${post}`);

